package health.lm.com.component_base.pay;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Android Studio .
 * 作者：zhong
 * 日期：2018/11/21
 * 邮箱：15206394364@163.com
 * 介绍：支付结果实体类
 * 修订：====================
 */
public class PaymentEntity {

    /**
     * need_pay : 1
     * pay_type : 1
     * wx : {"appid":"wx9e2f6d7a4b72fdfc","partnerid":"1520369481","prepayid":"wx291528446285816c0a4e61361817742886","package":"Sign=WXPay","noncestr":"lxAPUKfkFHNgixy0","timestamp":"1546068524","sign":"46E50BC99473F68402000F3FA243CC1F"}
     * alipay :
     * order_sn : 20181229152819692993
     * str :
     */

    private int need_pay;
    private int pay_type;
    private WxBean weixin_pay_info;
    private String ali_pay_info;
    private String order_sn;
    private String str;
    private int is_pay;

    public int getIs_pay() {
        return is_pay;
    }

    public void setIs_pay(int is_pay) {
        this.is_pay = is_pay;
    }

    public int getNeed_pay() {
        return need_pay;
    }

    public void setNeed_pay(int need_pay) {
        this.need_pay = need_pay;
    }

    public int getPay_type() {
        return pay_type;
    }

    public void setPay_type(int pay_type) {
        this.pay_type = pay_type;
    }

    public WxBean getWeixin_pay_info() {
        return weixin_pay_info;
    }

    public void setWeixin_pay_info(WxBean weixin_pay_info) {
        this.weixin_pay_info = weixin_pay_info;
    }

    public String getAli_pay_info() {
        return ali_pay_info;
    }

    public void setAli_pay_info(String ali_pay_info) {
        this.ali_pay_info = ali_pay_info;
    }

    public String getOrder_sn() {
        return order_sn;
    }

    public void setOrder_sn(String order_sn) {
        this.order_sn = order_sn;
    }

    public String getStr() {
        return str;
    }

    public void setStr(String str) {
        this.str = str;
    }

    public static class WxBean {
        /**
         * appid : wx9e2f6d7a4b72fdfc
         * partnerid : 1520369481
         * prepayid : wx291528446285816c0a4e61361817742886
         * package : Sign=WXPay
         * noncestr : lxAPUKfkFHNgixy0
         * timestamp : 1546068524
         * sign : 46E50BC99473F68402000F3FA243CC1F
         */

        private String appid;
        private String partnerid;
        private String prepayid;
        @SerializedName("package")
        private String packageX;
        private String noncestr;
        private String timestamp;
        private String sign;

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getPartnerid() {
            return partnerid;
        }

        public void setPartnerid(String partnerid) {
            this.partnerid = partnerid;
        }

        public String getPrepayid() {
            return prepayid;
        }

        public void setPrepayid(String prepayid) {
            this.prepayid = prepayid;
        }

        public String getPackageX() {
            return packageX;
        }

        public void setPackageX(String packageX) {
            this.packageX = packageX;
        }

        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }

        public String getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(String timestamp) {
            this.timestamp = timestamp;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }
    }
}
